]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dateMenu: Hide overlay scrollbar in the notification popup
authorJonas Dreßler <verdre@v0yd.nl>
Sun, 16 Feb 2020 20:57:34 +0000 (21:57 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 19 Feb 2020 11:47:04 +0000 (11:47 +0000)
Since the design of the notification popup changed with the theme
refactor and there are now boxes around the world-clock and weather
sections, the overlay scrollbar that is shown above them looks rather
bad. So simply hide that scrollbar, we still have the vfade effect to
indicate the container is scrollable and we also depend on that in the
new popup app-folders.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1013

js/ui/dateMenu.js

index 385cee4692957e0f1eb7b30fe99888168b912a81..8fb56b192179d8e0e77e2f9e29b7c978c7d8862b 100644 (file)
@@ -630,7 +630,7 @@ class DateMenuButton extends PanelMenu.Button {
         this._displaysSection = new St.ScrollView({ style_class: 'datemenu-displays-section vfade',
                                                     x_expand: true,
                                                     overlay_scrollbars: true });
-        this._displaysSection.set_policy(St.PolicyType.NEVER, St.PolicyType.AUTOMATIC);
+        this._displaysSection.set_policy(St.PolicyType.NEVER, St.PolicyType.EXTERNAL);
         vbox.add_actor(this._displaysSection);
 
         let displaysBox = new St.BoxLayout({ vertical: true,